//--ZZProfIt--
/**********************************************************************
  The MIT License (MIT)
  Copyright (c) 2012 sunriseyuen

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files
  (the "Software"), to deal in the Software without restriction,
  including without limitation the rights to use, copy, modify, merge,
  publish, distribute, sublicense, and/or sell copies of the Software,
  and to permit persons to whom the Software is furnished to do so,
  subject to the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ***********************************************************************/
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;

using Dot.StreamObject;

namespace Muki.Entity
{
	[Serializable]
		[AttributeMapping(TableName="VQTDTLM")]
		public class VQTDTLMEntity: EntityObject
		{


#region Field
				private	string _ITEM_NO="";
				private	decimal _LEAD_TM=0;
				private	decimal _MIN_ORD=0;
				private	decimal _PKG_ORD=0;
				private	bool _PRIM_VQT=false;
				private	Int32 _SERIAL_NO=0;
				private	string _UOM_CODE="";
				private	string _UOM_VQT="";
				private	decimal _UOM_XCHG=0;
				private	bool _UPDATE_VEN_ITEM=false;
				private	string _VEN_ITEM_NAME01="";
				private	string _VEN_ITEM_NO="";
				private	string _VQT_DT="";
				private	string _VQT_DT_RMKS="";
				private	string _VQT_NO="";
				private	decimal _VQT_QTY=0;
				private	DateTime _VQT_REQ_DATE=DateTime.MinValue;
				private	decimal _VQT_REQ_QTY=0;
				private	decimal _VQT_UNIT_PRICE=0;
				private	DateTime _ZADD_DATE=DateTime.MinValue;
				private	string _ZADD_USER="";
				private	DateTime _ZCHG_DATE=DateTime.MinValue;
				private	string _ZCHG_FLAG="";
				private	string _ZCHG_USER="";
				private	string _ZSECURITY_CODE1="";
				private	string _ZSECURITY_CODE2="";
				private	string _ZSECURITY_CODE3="";
				private	string _ZSECURITY_CODE4="";
				private	string _ZSECURITY_CODE5="";
				private	string _ZSECURITY_CODE6="";
				private	Int32 _ZSECURITY_RIGHT=0;
#endregion

#region Properties
				//<Summary>
				//VQTDTLM,ITEM_NO
				//</Summary>
				public string ITEM_NO
				{
					get { return _ITEM_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ITEM_NO)
							{
								_ITEM_NO = value; 
								this.PropertyChange("ITEM_NO");
							}
						}else{
							_ITEM_NO = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,LEAD_TM
				//</Summary>
				public decimal LEAD_TM
				{
					get { return _LEAD_TM; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_LEAD_TM)
							{
								_LEAD_TM = value; 
								this.PropertyChange("LEAD_TM");
							}
						}else{
							_LEAD_TM = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,MIN_ORD
				//</Summary>
				public decimal MIN_ORD
				{
					get { return _MIN_ORD; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_MIN_ORD)
							{
								_MIN_ORD = value; 
								this.PropertyChange("MIN_ORD");
							}
						}else{
							_MIN_ORD = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,PKG_ORD
				//</Summary>
				public decimal PKG_ORD
				{
					get { return _PKG_ORD; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PKG_ORD)
							{
								_PKG_ORD = value; 
								this.PropertyChange("PKG_ORD");
							}
						}else{
							_PKG_ORD = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,PRIM_VQT
				//</Summary>
				public bool PRIM_VQT
				{
					get { return _PRIM_VQT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PRIM_VQT)
							{
								_PRIM_VQT = value; 
								this.PropertyChange("PRIM_VQT");
							}
						}else{
							_PRIM_VQT = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,SERIAL_NO
				//</Summary>
				public Int32 SERIAL_NO
				{
					get { return _SERIAL_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_SERIAL_NO)
							{
								_SERIAL_NO = value; 
								this.PropertyChange("SERIAL_NO");
							}
						}else{
							_SERIAL_NO = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,UOM_CODE
				//</Summary>
				public string UOM_CODE
				{
					get { return _UOM_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_UOM_CODE)
							{
								_UOM_CODE = value; 
								this.PropertyChange("UOM_CODE");
							}
						}else{
							_UOM_CODE = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,UOM_VQT
				//</Summary>
				public string UOM_VQT
				{
					get { return _UOM_VQT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_UOM_VQT)
							{
								_UOM_VQT = value; 
								this.PropertyChange("UOM_VQT");
							}
						}else{
							_UOM_VQT = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,UOM_XCHG
				//</Summary>
				public decimal UOM_XCHG
				{
					get { return _UOM_XCHG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_UOM_XCHG)
							{
								_UOM_XCHG = value; 
								this.PropertyChange("UOM_XCHG");
							}
						}else{
							_UOM_XCHG = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,UPDATE_VEN_ITEM
				//</Summary>
				public bool UPDATE_VEN_ITEM
				{
					get { return _UPDATE_VEN_ITEM; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_UPDATE_VEN_ITEM)
							{
								_UPDATE_VEN_ITEM = value; 
								this.PropertyChange("UPDATE_VEN_ITEM");
							}
						}else{
							_UPDATE_VEN_ITEM = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,VEN_ITEM_NAME01
				//</Summary>
				public string VEN_ITEM_NAME01
				{
					get { return _VEN_ITEM_NAME01; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_VEN_ITEM_NAME01)
							{
								_VEN_ITEM_NAME01 = value; 
								this.PropertyChange("VEN_ITEM_NAME01");
							}
						}else{
							_VEN_ITEM_NAME01 = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,VEN_ITEM_NO
				//</Summary>
				public string VEN_ITEM_NO
				{
					get { return _VEN_ITEM_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_VEN_ITEM_NO)
							{
								_VEN_ITEM_NO = value; 
								this.PropertyChange("VEN_ITEM_NO");
							}
						}else{
							_VEN_ITEM_NO = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,VQT_DT
				//</Summary>
					[AttributeMapping(PrimaryKey=true)]
				public string VQT_DT
				{
					get { return _VQT_DT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_VQT_DT)
							{
								_VQT_DT = value; 
								this.PropertyChange("VQT_DT");
							}
						}else{
							_VQT_DT = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,VQT_DT_RMKS
				//</Summary>
				public string VQT_DT_RMKS
				{
					get { return _VQT_DT_RMKS; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_VQT_DT_RMKS)
							{
								_VQT_DT_RMKS = value; 
								this.PropertyChange("VQT_DT_RMKS");
							}
						}else{
							_VQT_DT_RMKS = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,VQT_NO
				//</Summary>
				public string VQT_NO
				{
					get { return _VQT_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_VQT_NO)
							{
								_VQT_NO = value; 
								this.PropertyChange("VQT_NO");
							}
						}else{
							_VQT_NO = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,VQT_QTY
				//</Summary>
				public decimal VQT_QTY
				{
					get { return _VQT_QTY; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_VQT_QTY)
							{
								_VQT_QTY = value; 
								this.PropertyChange("VQT_QTY");
							}
						}else{
							_VQT_QTY = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,VQT_REQ_DATE
				//</Summary>
				public DateTime VQT_REQ_DATE
				{
					get { return _VQT_REQ_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_VQT_REQ_DATE)
							{
								_VQT_REQ_DATE = value; 
								this.PropertyChange("VQT_REQ_DATE");
							}
						}else{
							_VQT_REQ_DATE = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,VQT_REQ_QTY
				//</Summary>
				public decimal VQT_REQ_QTY
				{
					get { return _VQT_REQ_QTY; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_VQT_REQ_QTY)
							{
								_VQT_REQ_QTY = value; 
								this.PropertyChange("VQT_REQ_QTY");
							}
						}else{
							_VQT_REQ_QTY = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,VQT_UNIT_PRICE
				//</Summary>
				public decimal VQT_UNIT_PRICE
				{
					get { return _VQT_UNIT_PRICE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_VQT_UNIT_PRICE)
							{
								_VQT_UNIT_PRICE = value; 
								this.PropertyChange("VQT_UNIT_PRICE");
							}
						}else{
							_VQT_UNIT_PRICE = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,ZADD_DATE
				//</Summary>
				public DateTime ZADD_DATE
				{
					get { return _ZADD_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_DATE)
							{
								_ZADD_DATE = value; 
								this.PropertyChange("ZADD_DATE");
							}
						}else{
							_ZADD_DATE = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,ZADD_USER
				//</Summary>
				public string ZADD_USER
				{
					get { return _ZADD_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_USER)
							{
								_ZADD_USER = value; 
								this.PropertyChange("ZADD_USER");
							}
						}else{
							_ZADD_USER = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,ZCHG_DATE
				//</Summary>
				public DateTime ZCHG_DATE
				{
					get { return _ZCHG_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_DATE)
							{
								_ZCHG_DATE = value; 
								this.PropertyChange("ZCHG_DATE");
							}
						}else{
							_ZCHG_DATE = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,ZCHG_FLAG
				//</Summary>
				public string ZCHG_FLAG
				{
					get { return _ZCHG_FLAG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_FLAG)
							{
								_ZCHG_FLAG = value; 
								this.PropertyChange("ZCHG_FLAG");
							}
						}else{
							_ZCHG_FLAG = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,ZCHG_USER
				//</Summary>
				public string ZCHG_USER
				{
					get { return _ZCHG_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_USER)
							{
								_ZCHG_USER = value; 
								this.PropertyChange("ZCHG_USER");
							}
						}else{
							_ZCHG_USER = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,ZSECURITY_CODE1
				//</Summary>
				public string ZSECURITY_CODE1
				{
					get { return _ZSECURITY_CODE1; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE1)
							{
								_ZSECURITY_CODE1 = value; 
								this.PropertyChange("ZSECURITY_CODE1");
							}
						}else{
							_ZSECURITY_CODE1 = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,ZSECURITY_CODE2
				//</Summary>
				public string ZSECURITY_CODE2
				{
					get { return _ZSECURITY_CODE2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE2)
							{
								_ZSECURITY_CODE2 = value; 
								this.PropertyChange("ZSECURITY_CODE2");
							}
						}else{
							_ZSECURITY_CODE2 = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,ZSECURITY_CODE3
				//</Summary>
				public string ZSECURITY_CODE3
				{
					get { return _ZSECURITY_CODE3; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE3)
							{
								_ZSECURITY_CODE3 = value; 
								this.PropertyChange("ZSECURITY_CODE3");
							}
						}else{
							_ZSECURITY_CODE3 = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,ZSECURITY_CODE4
				//</Summary>
				public string ZSECURITY_CODE4
				{
					get { return _ZSECURITY_CODE4; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE4)
							{
								_ZSECURITY_CODE4 = value; 
								this.PropertyChange("ZSECURITY_CODE4");
							}
						}else{
							_ZSECURITY_CODE4 = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,ZSECURITY_CODE5
				//</Summary>
				public string ZSECURITY_CODE5
				{
					get { return _ZSECURITY_CODE5; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE5)
							{
								_ZSECURITY_CODE5 = value; 
								this.PropertyChange("ZSECURITY_CODE5");
							}
						}else{
							_ZSECURITY_CODE5 = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,ZSECURITY_CODE6
				//</Summary>
				public string ZSECURITY_CODE6
				{
					get { return _ZSECURITY_CODE6; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE6)
							{
								_ZSECURITY_CODE6 = value; 
								this.PropertyChange("ZSECURITY_CODE6");
							}
						}else{
							_ZSECURITY_CODE6 = value; 
						}
					}
				}
				//<Summary>
				//VQTDTLM,ZSECURITY_RIGHT
				//</Summary>
				public Int32 ZSECURITY_RIGHT
				{
					get { return _ZSECURITY_RIGHT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_RIGHT)
							{
								_ZSECURITY_RIGHT = value; 
								this.PropertyChange("ZSECURITY_RIGHT");
							}
						}else{
							_ZSECURITY_RIGHT = value; 
						}
					}
				}
#endregion
		}
}
